<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="../favicon.ico"> 
    <link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="../css/animate.css" rel="stylesheet">
    <link href="../css/style.css?v=4.1.0" rel="stylesheet">
    <link href="../css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="../css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="../css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;overflow-x: auto;">
    <!-- 标题 -->
    <div class="page-heade">
      <h1 class="title_color">客户通讯录</h1>
    </div>
    <!-- 标题 -->
     <div>
    <form action="" class="form-inline">
      <table class="row-margin-top tab-content table-bordered table" border="1">
          <tr>
            <td style="min-width: 120px;width: 120px"><label for="" class="form-label">联系人姓名</label></td>
            <td><input type="text" class="form-control" name=""></td>
       <td style="min-width: 120px;width: 120px"><label for="" class="form-label">所属客户</label></td>
            <td><input type="text" class="form-control" name=""></td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label">客户类型</label></td>
             <td>
                <select name="" id="" style="user-select:none" class="form-control">
                    <option value="0">请选择</option>
                    <option value="0">经销商联系人</option>
                    <option value="0">系统联系人</option>
                    <option value="0">网点联系人</option>
                </select>
             </td>
        
    </tr>
          <tr>
       <td colspan="6" class="text-center">
           <button class="btn btn-info query" >查询</button>
           <button class="btn btn-info emptyIf" type="button">清空查询条件</button>
            </td>
          </tr>
      </table>
    
      <table class="table row-margin-top table-bordered text-center bud_hei">
                 <tr class="info">
                        <th class="text-center">No.</th>
                        <th class="text-center">联系人姓名</th>
                        <th class="text-center">所属客户</th>
                        <th class="text-center">客户类型</th>
                        <th class="text-center">联系电话</th>
                        <th class="text-center">联系人手机</th>
                        <th class="text-center">联系邮箱</th>
                        <th class="text-center">传真号妈</th>
                        <th class="text-center">联系人职位</th>
                        <th class="text-center">操作</th>
                    </tr>
               <tr>
                    <td>1</td> 
                    <td>李四</td> 
                    <td>广州市汇佳嘉贸易有限公司</td> 
                    <td>经销商主联系人</td>
                    <td>020-12341234</td>
                    <td>13600000000</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td><a href="javascript:;" class="modify_tell">修改</a></td>
               </tr>
      </table>
       
</form>
    </div>
    <!-- 全局js -->
    <script src="../js/jquery.min.js?v=2.1.4"></script>
    <script src="../js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="../js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!--统计代码，可删除-->
    <script src="../js/plugins/layer/laydate/laydate.js"></script>
     <script src="../js/plugins/layer/layer.min.js"></script>
    <script src="../js/common.js"></script>
    <script>
   
        $(document).ready(function(){
          var $ObjectNum =$(".ObjectNum");
             toNum($ObjectNum);


         /*修改*/
         $(".modify_tell").click(function(){
               var str = '<form method="get" class="form-inline" style="margin:10px"><table class="table-bordered table"><tr><td class="text-center">联系人姓名</td><td><input type="text" class="form-control" /></td><td class="text-center">联系电话</td><td><input type="text" class="form-control" /></td><td style="min-width:120px;width:120px;" class="text-center">联系人手机</td><td><input type="text" class="form-control" /></td></tr><tr><td class="text-center">客户类型</td><td colspan="5">经销商主联系人</td></tr></table> <div class="row sub_btn" style="width:100%;text-align:center;padding: 20px 0"><input type="submit" class="btn btn-success" value="提交"><input type="button" class="btn btn-warning" value="取消" id="cancelBack" style="margin-left:20px"></div></form>'
            layer.open({
              type: 1,
              title:"修改联系人",
              skin: 'layui-layer-rim', //加上边框
              area: ['960px', '500px'], //宽高
              content: str
            });
              var cancelBack = document.getElementById('cancelBack')
              cancelBack.onclick = function(){
               layer.closeAll(); 
               }
        })

        })
    </script>
</body>

</html>
